Skip to main content

MouseEventArgs Properties

An object defining properties for the MouseEventArgs class.

ScreenY​

The vertical coordinate of the mouse relative to the screen.

Type: double


LayerX​

The horizontal coordinate of the mouse relative to the nearest positioned ancestor element.

Type: double


Buttons​

Specifies the currently pressed mouse buttons.

Type: double


ScreenX​

The horizontal coordinate of the mouse relative to the screen.

Type: double


MovementY​

The vertical movement of the mouse since the last event.

Type: double


PageX​

The horizontal coordinate of the mouse relative to the whole document.

Type: double


Button​

Specifies which mouse button was pressed.

Type: double


X​

The horizontal coordinate of the mouse relative to the event target.

Type: double


CtrlKey​

Indicates whether the "Ctrl" key was pressed during the event.

Type: bool


Y​

The vertical coordinate of the mouse relative to the event target.

Type: double


ClientY​

The vertical coordinate of the mouse relative to the client area.

Type: double


OffsetX​

The horizontal coordinate of the mouse relative to the event target.

Type: double


ShiftKey​

Indicates whether the "Shift" key was pressed during the event.

Type: bool


LayerY​

The vertical coordinate of the mouse relative to the nearest positioned ancestor element.

Type: double


PageY​

The vertical coordinate of the mouse relative to the whole document.

Type: double


AltKey​

Indicates whether the "Alt" key was pressed during the event.

Type: bool


ClientX​

The horizontal coordinate of the mouse relative to the client area.

Type: double


OffsetY​

The vertical coordinate of the mouse relative to the event target.

Type: double


MovementX​

The horizontal movement of the mouse since the last event.

Type: double


ResponseParameters​

The response parameters associated with the event.

Type: ResponseParameters


MetaKey​

Indicates whether the "Meta" key (Windows key or Command key) was pressed during the event.

Type: bool